﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Activities;

namespace TeamDeploy.Activities.Test
{
    [TestClass]
    public class WebDeployTests
    {
        [TestMethod]
        public void TestWebDeploy()
        {
            var workflow = new WebDeploy();
            workflow.TargetMachine = Environment.MachineName;
            workflow.DeploymentPackageSharePathCmd = @"C:\BuildDropFolder\TestWebDeploy\TestWebDeploy_20101010.2\_PublishedWebsites\TestWebDeploy_Package\" + "TestWebDeploy" + ".deploy.cmd";
            //workflow.RemoteExecutePathFilename = @"c:\pstools\psexec2.exe";
            //workflow.MSIPathFilename = Path.Combine(@"C:\InstallUninstallTests.msi");
            //workflow.ExtraArgs = "adfs";
            var workflowInvoker = new WorkflowInvoker(workflow);

            workflowInvoker.Invoke();

            Assert.IsTrue(true);
        }
        
    }
}